import React from 'react'
import { useSelector } from 'react-redux'

export default function Result() {
  const score = useSelector((state: { questional: { score: number } }) => state.questional.score)
  return (
    <div>
      <div>成绩：{score}</div>
    </div>
  )
}
